/*
 * @(#)BaseDao.java 2012-11-3 ����05:12:13 Shop-common
 */
package com.dingtalk.dingbotmgr.service;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @version 1.0
 * @param <T>
 */
public interface BaseService<T> {
    void save(T entity);

    void delete(T entity);

    void saveOrUpdate(T entity);

    void update(T entity);

    T getEntityById(Serializable id);

    List<T> list();

}
